package com.chenfan.mcn.model.rpc;

import com.alibaba.fastjson.annotation.JSONType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;


/**
 * 财务修改客户返点审批单状态回调
 *
 * @author wulg
 * @date 2022-07-28
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@JSONType(typeName = BusinessScene.CHANGE_ANNUAL_REBATE_STATUS)
public class ChangeAnnualRebateStatusCallback extends AbstractFinanceCallback {

    private static final long serialVersionUID = -4200550450822722410L;

    /**
     * 客户返点合同编号集合
     */
    @NotEmpty(message = "客户返点合同编号集合不能为空")
    private List<String> rebateContractCodes;

    /**
     * 状态
     */
    @NotNull(message = "状态不能为空")
    private Integer status;
}
